import request from '@/utils/request'

// 查询水温列表
export function listWater_temperature(query) {
  return request({
    url: '/dr/water_temperature/list',
    method: 'get',
    params: query
  })
}

// 查询水温详细
export function getWater_temperature(id) {
  return request({
    url: '/dr/water_temperature/' + id,
    method: 'get'
  })
}

// 新增水温
export function addWater_temperature(data) {
  return request({
    url: '/dr/water_temperature',
    method: 'post',
    data: data
  })
}

// 修改水温
export function updateWater_temperature(data) {
  return request({
    url: '/dr/water_temperature',
    method: 'put',
    data: data
  })
}

// 删除水温
export function delWater_temperature(id) {
  return request({
    url: '/dr/water_temperature/' + id,
    method: 'delete'
  })
}
